html, body{
    
    background-color: #f8f8f8;
}

.head-allbox{
    position: relative;
    z-index: 999;
}


.customer-up h3{
    color: black;

}

.customer-up p{
    margin: 10px 0;
    border: 2px solid #1271ef;
    width: 20px;
    background-color: #1271ef;
}

.customer-center{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

}

.customer-center div{
    position: relative;
    margin-bottom: 63px;
    width: 356px;
    border: 1px solid #ccc;
    height: 342px;
    padding: 10px;

}


.customer-center div img{
    width: 100%;

    left: 0;
    top: 0;
    object-fit: cover;
}

.customer-center .customer-text {
    color: #000;
    font-size: 18px;
    margin-bottom: 10px;
    margin-top: 30px;
}

.customer-text2{
    font-size: 10px;
    color: #333;
    display: -webkit-box;           /* 将盒子变为弹性盒子 */
    -webkit-box-orient: vertical;   /* 将文本设置为垂直排列 */
    -webkit-line-clamp: 4;          /* 文本显示的行数 */
    overflow: hidden;               /* 溢出隐藏 */
    margin-bottom: 20px;
}

.customer-center a{
    color: #1271ef;
}

.customer-doown p{
    margin: 10px 0;
    border: 2px solid #1271ef;
    width: 20px;
    background-color: #1271ef;
}

.customer-box{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}


.customer-box div{
    display: flex;
    width: 360px;
    height: 120px;
    margin-bottom: 20px;
    background-color: #fff;
    justify-content: center;
    align-items: center;
}

canvas{
    height: 370px;
    background-color: rgba(0,0,0,.88);
}

.canvas-title{
    position: absolute;
    left: 736px;
    top: 150px;
    z-index: 999;
    text-align: center;
    color: #fff;
    width: 500px;
    height: 100px;
}

.canvas-title h1{
    font: 36px;
    margin-top: 20px;
}

.canvas-title p{
    margin-top: 20px;
}

.nav{
    position: fixed;
    right: 0;
    top: 0;
    width: 50px;
    height: 100%;
    background-color: rgba(0,0,0,.8);
    display: none;
    color: #fff;
    
}

.nav ul{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
}

.nav h2{
    font-size: 30px;
    margin-bottom: 10px;
    font-weight: normal;
    cursor: pointer;
    transition: 0.5s;
    transform: translateX(300px);
}



.nav p{
    font-size: 20px;
    transition: 0.7s;
    cursor: pointer;
    transform: translateX(300px);
}

.nav li{
    width: 100%;
    text-align: center;
    height: 100px;
    margin-bottom: 70px;
}

.active3{
    transition-delay: 0.7s;
    transform: translateX(0) !important;
    border: none;
}

.active2{
    transition-delay: 0.8s;
    transform: translateX(0) !important;
}